package pluginlogic

import (
	"context"

	"platform/proto/internal/svc"
	"platform/proto/plugin"

	"github.com/zeromicro/go-zero/core/logx"
)

type HandleLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewHandleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HandleLogic {
	return &HandleLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *HandleLogic) Handle(in *plugin.Request) (*plugin.Response, error) {
	// todo: add your logic here and delete this line

	return &plugin.Response{}, nil
}
